From: Florian Müllner Date: Thu, 28 Dec 2023 09:34:33 +0000 (+0100) Subject: screenshot: Expand window contents X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~189 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b5e5b67e22830b953d6997a7b378f072056b875d;p=gnome-shell.git screenshot: Expand window contents More fallout from commit c290a38730eb2 … Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7287 Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index a1206a56d..464e95672 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -773,8 +773,11 @@ class UIWindowSelectorLayout extends Workspace.WorkspaceLayout { const UIWindowSelectorWindowContent = GObject.registerClass( class UIWindowSelectorWindowContent extends Clutter.Actor { - _init(actor, params) { - super._init(params); + constructor(actor) { + super({ + x_expand: true, + y_expand: true, + }); const window = actor.metaWindow; this._boundingBox = window.get_frame_rect();